package org.hxyjs.dao;

import org.hxyjs.entity.EventDetails;
import org.hxyjs.page.PageInfo;

import java.util.List;

public interface EventDetailsDao {
    public List<EventDetails>  getAllEventDetailss()  throws Exception;
    public EventDetails  getEventDetailsByUno(String uno)  throws Exception;
    public List<EventDetails> getEventDetailssByPage(PageInfo pageInfo);
    //增删改的返回值都是整数
    Integer deleteEventDetails(String uno)  throws Exception;
    Integer updateEventDetails(EventDetails chatadmin)  throws Exception;
    Integer addEventDetailsByUno(EventDetails chatadmin)  throws Exception;

    EventDetails getEventDetailssWithOrders(String uno)throws Exception;

    EventDetails getAccountByAccountName(String uno)throws Exception;



}
